package com.zoe.app.dao;

import cn.hutool.core.collection.CollUtil;
import com.zoe.app.annotation.DataFilter;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zoe.Zhang
 * @date 2022/05/26
 * @description
 */
@Component
public class UserDao {
    List<String> list = CollUtil.newLinkedList("小明1", "小红2", "小白3", "小绿4");


    @DataFilter(enable = true, filterValue = "2")
    public List getUsers() {
        return list;
    }
}
